<div class="row">
<div class="col-sm-12">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <strong>医生收费统计</strong>
            </div>

            <div class="panel-body">

                <div class="row center-block row_section" ng-hide="role == 4">
                    <div class="span6  col-sm-4">
                        <label for="province" class="col-sm-4 control-label">省份</label>
                        <div class="col-sm-8 ">
                            <select ng-model="province"
                                    ng-change="provinceChanged(province)"
                                    class="form-control" id="province"
                                    ng-options="item._id as item.name for item in provinces">
                                <option value="">请选择省份</option>
                            </select>

                        </div>
                    </div>

                    <div class="span6  col-sm-4" ng-hide="role == 4">
                        <label for="hospital" class="col-sm-4 control-label">医院</label>
                        <div class="col-sm-8 ">
                            <select ng-model="hospital"
                                    class="form-control" id="hospital"
                                    ng-options="item._id as item.name for item in hospitals">
                                <option value="">请选择医院</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="row center-block row_section">
                    <div class="span6  col-sm-4">
                        <label for="start" class="col-sm-4 control-label">起始时间</label>
                        <div class="col-sm-8">
                            <div class="dropdown">
                                <a class="dropdown-toggle" id="dropdown11" role="button" data-toggle="dropdown" data-target="#"
                                   href="">
                                    <div class="input-group">
                                        <input type="text" id="start" class="form-control" ng-model="start">
                                        <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
                                    </div>
                                </a>
                                <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                                    <datetimepicker ng-model="start"
                                                    data-datetimepicker-config="{ dropdownSelector: '#dropdown11',startView:'day', minView:'day'}"></datetimepicker>
                                </ul>
                            </div>
                        </div>
                    </div>

                    <div class="span6  col-sm-4">
                        <label for="end" class="col-sm-4 control-label">结束时间</label>
                        <div class="col-sm-8">
                            <div class="dropdown">
                                <a class="dropdown-toggle" id="dropdown12" role="button" data-toggle="dropdown" data-target="#"
                                   href="">
                                    <div class="input-group">
                                        <input type="text" id="end" class="form-control" ng-model="end">
                                        <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
                                    </div>
                                </a>
                                <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                                    <datetimepicker ng-model="end"
                                                    data-datetimepicker-config="{ dropdownSelector: '#dropdown12',startView:'day', minView:'day'}"></datetimepicker>
                                </ul>
                            </div>
                        </div>
                    </div>

                    <div class="col-sm-4">
                        <button type="button" ng-click="statistic_doctor()" class="btn btn-default">确定</button>
                    </div>
                </div>

                <div clss="table-container">
                    <div id="outerdiv">
                        <div id="innerdiv">


                            <table class="table">
                                <thead>
                                <tr>
                                    <th>医生姓名</th>
                                    <th>医院名称</th>
                                    <th>所属科室</th>
                                    <th>病人数量</th>
                                    <th>总费用</th>
                                </tr>
                                </thead>
                                <tbody>
                                    <tr ng-repeat="row in displayed">
                                        <td>{{row._id.doctor}}</td>
                                        <td>{{row._id.hospital}}</td>
                                        <td>{{row._id.office}}</td>
                                        <td>
                                            <div ng-hide="row.value.count">
                                                1
                                            </div>
                                            <div ng-show="row.value.count">
                                                {{row.value.count}}
                                            </div>
                                        </td>
                                        <td>
                                            {{row.value.fee}}
                                            {{row.value.totalFees}}
                                        </td>
                                    </tr>
                                </tbody>
                            </table>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>